Skip to content

Fixes issues due to serverspec upgrade #146

Merged
underscorgan merged 1 commit intopuppetlabs:masterfrom
cyberious:SpecinfraUpgrade
Feb 9, 2015
Merged

Fixes issues due to serverspec upgrade #146
underscorgan merged 1 commit intopuppetlabs:masterfrom
cyberious:SpecinfraUpgrade

Conversation

@cyberious
Copy link
Copy Markdown
Contributor

and usage of obsolete should contain method for files

Comment thread Gemfile
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you intend to leave pry in here?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did the serverspec update fix this on solaris 10?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, it works, I have tested it against solaris 10, it was the grep that was broken, its(:content) does not use the multiline grep so with a regex it matches.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should contain still uses the specinfra matcher, however the serverspec its(:content) would use the https://github.com/serverspec/serverspec/blob/5b7e90f259305726527253744f7a0feb3de1cae4/lib/serverspec/type/file.rb#L97-L102 and read as a string and then use rspec match regex to match the multiline string.

underscorgan pushed a commit that referenced this pull request Feb 9, 2015
Fixes issues due to serverspec upgrade
@underscorgan underscorgan merged commit 8867610 into puppetlabs:master Feb 9, 2015
cegeka-jenkins pushed a commit to cegeka/puppet-inifile that referenced this pull request Oct 23, 2017
Fixes issues due to serverspec upgrade
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants